package com.hu.annotation;


import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface HotKeyCacheable {
    /**
     * key
     * @return
     */
    String key() default "";
    /**
     * 前缀
     * @return
     */
    String prefix() default "hotkey_id_";
}
